home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
olrdrs
/
qprn112.zip
/
1ST-EXIT.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-05-12
|
662b
|
17 lines
@echo off
:1ST /CLS /IN:SAVEQWK.FIL /OUT:SAVEQWK.$$$
REM This is a sample $$EXIT.BAT for use with 1stReader. Copy it to the
REM directory where 1stReader is located and rename it $$EXIT.BAT.
REM
REM @SWITCH(2) shows whether the bookmark switch is on or off. If it's not
REM -1 the bookmark switch is OFF. @API(78) shows the number of messages
REM in the packet, according to CONTROL.DAT. If it's not 0, the packet
REM was configured for 1stReader. In either case, we know the QWK packet
REM wasn't rearchived by 1stReader.
REM
if not @SWITCH(2) == -1 goto repack
if not @API(78) == 0 goto repack
exit
:repack
if exist %2messages.bak saveqwk